at query level > 1064SELECT p.id as PAGEID, c.id as CATID,p.name,p.title,p.keywords,p.description,p.browser_title,p.subtitle,p.content,p.image_type, c.name as category, c.redirect_to as redirect, s.name as section, ( SELECT GROUP_CONCAT( CONCAT( REPLACE(p.name,' ','-'), '=', p.title) ORDER BY p.seq ) from pages p where p.category_id = CATID ORDER BY p.seq ) as subpages, ( SELECT GROUP_CONCAT( CONCAT( i.filename, '=', i.caption) ) from page_images i WHERE i.page_id = PAGEID ) as images from pages p , categories c, sections s where p.category_id = c.id AND c.section_id = s.id AND c.name = '\' AND p.name='home' You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'home'' at line 15.

Please click here to visit our homepage